﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交网站轮播展示</title>

    @include("frontend/bootstrap/common/css")

    <style>
        .container {
            max-width: 1200px;
        }

        .page-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .page-title {
            font-size: 2.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--dark);
        }

        .page-subtitle {
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .carousel-section {
            margin-bottom: 4rem;
            padding: 1.5rem;
            background-color: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .section-title i {
            color: var(--primary);
            margin-right: 0.75rem;
        }

        .section-desc {
            color: var(--gray);
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        .carousel-header {
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .carousel-more {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        .carousel-more i {
            margin-left: 0.25rem;
            transition: transform 0.2s;
        }

        .carousel-more:hover i {
            transform: translateX(3px);
        }


    </style>
</head>
<body>
<div class="container">
    <!-- 页面标题 -->
    <div class="page-header">
        <h1 class="page-title">社交网站轮播展示</h1>
        <p class="page-subtitle">多种风格的轮播组件，适用于不同内容的展示需求</p>
    </div>

    <!-- 焦点图轮播 -->
    <div class="carousel-section">
        <h2 class="section-title"><i class="fas fa-fire"></i> 焦点内容轮播</h2>
        <p class="section-desc">展示重要公告、热门活动或精选内容，吸引用户注意力</p>

        @include("frontend/bootstrap/common/carousel1")
    </div>

    <!-- 用户推荐轮播 -->
    <div class="carousel-section">
        <h2 class="section-title"><i class="fas fa-users"></i> 推荐关注用户轮播</h2>
        <p class="section-desc">横向滚动展示推荐关注的用户，帮助用户发现更多志同道合的朋友</p>

        @include("frontend/bootstrap/common/carousel2")
    </div>

    <!-- 热门帖子轮播 -->
    <div class="carousel-section">
        <h2 class="section-title"><i class="fas fa-comment-alt"></i> 热门帖子轮播</h2>
        <p class="section-desc">展示平台内的热门帖子和精选内容，提高优质内容的曝光率</p>

        @include("frontend/bootstrap/common/carousel3")
    </div>

    <!-- 活动/产品轮播 -->
    <div class="carousel-section">
        <h2 class="section-title"><i class="fas fa-calendar-alt"></i> 活动与产品轮播</h2>
        <p class="section-desc">展示即将举行的社区活动或平台推荐的产品服务</p>

        @include("frontend/bootstrap/common/carousel4")
    </div>

    <!-- 1. 全屏宽幅轮播 - 适合展示精选内容 -->
    <div class="carousel-section">
        <div class="carousel-header">
            <h2 class="section-title"><i class="fas fa-newspaper"></i> 精选推荐</h2>
            <a href="#" class="carousel-more">查看全部 <i class="fas fa-angle-right"></i></a>
        </div>

        @include("frontend/bootstrap/common/carousel5")
    </div>

    <!-- 2. 卡片式轮播 - 适合展示热门帖子 -->
    <div class="carousel-section">
        <div class="carousel-header">
            <h2 class="carousel-title"><i class="fas fa-fire"></i> 热门帖子</h2>
            <a href="#" class="carousel-more">更多热门 <i class="fas fa-angle-right"></i></a>
        </div>
        @include("frontend/bootstrap/common/carousel6")
    </div>

    <!-- 3. 用户推荐轮播 - 适合展示活跃用户 -->
    <div class="carousel-section">
        <div class="carousel-header">
            <h2 class="carousel-title"><i class="fas fa-users"></i> 你可能感兴趣的用户</h2>
            <a href="#" class="carousel-more">查看更多 <i class="fas fa-angle-right"></i></a>
        </div>

        @include("frontend/bootstrap/common/carousel7")
    </div>

    <!-- 4. 微型内容轮播 - 适合展示简短动态 -->
    <div class="carousel-section">
        <div class="carousel-header">
            <h2 class="carousel-title"><i class="fas fa-comment-dots"></i> 最新动态</h2>
            <a href="#" class="carousel-more">查看全部 <i class="fas fa-angle-right"></i></a>
        </div>

        @include("frontend/bootstrap/common/carousel8")
    </div>


</div>

<!-- Bootstrap 5 JS Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

<script>
	document.addEventListener('DOMContentLoaded', function () {
		// 初始化所有轮播
		initCarousel('.carousel', 3000)
	});

</script>
</body>
</html>

